export interface WdLayout<T> {
  code: number;
  data: T;
  success?: boolean;
  msg: string;
  [key: string]: any;
}

// 分页接口
export interface WdList<T> {
  code: number;
  data: {
    current: number;
    page: number;
    size: number;
    total: number;
    list: T[];
  };
  success?: boolean;
  msg: string;
  [key: string]: any;
}
export interface WdPage {
  current: number;
  size: number;
}
